package com.example.heartprotectionserver.model;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 结果码定义类
 */
public class Code {
    public static final Integer SUCCESS=1;//业务执行成功

    public static final Integer SYSTEM_ERR=100;//系统异常
    // 2 开头的都为业务相关结果码
    public static final Integer BUSINESS_ERR=200;//业务异常
    public static final Integer BUSINESS_USER_PASSWORD_ERR=201;//用户密码错误
    public static final Integer BUSINESS_USER_UNKNOW_ERR=202;//用户不存在
    public static final Integer BUSINESS_USER_KNOW_ERR=203;//用户已存在
    public static final Integer BUSINESS_USER_REGIST_ERR=204;//用户注册失败

    public static final Integer SYSTEM_UNKNOW_ERR=599;//未知异常
}
